<template>
  <div class="card">
    <img v-lazy="img" alt="">
  </div>
</template>

<script>
  import {CreateCardPictrue} from 'common/js/business'
  export default {
    data(){
      return{
        img:''
      }
    },
    mounted(){
      CreateCardPictrue({
        "phpsid":localStorage.getItem('token'),//session_id
      }).then(res=>{
        this.img = res.data
      })
    }
  }
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
  @import "~common/stylus/variable"
  .card
    height:100%;
    display :flex;
    justify-content :center;
    align-items :center;
    img
      width:100%;

</style>
